# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=esh
pkgver=0.3.2
pkgrel=0
pkgdesc="Simple template system based on shell"
url="https://github.com/jirutka/esh"
arch="noarch"
license="MIT"
makedepends="asciidoctor"
subpackages="$pkgname-doc"
source="https://github.com/jirutka/esh/archive/v$pkgver/esh-$pkgver.tar.gz"

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" prefix=/usr install
}

sha512sums="
f93835f0c28b75fa4b4ab2fdccd860050e4dde25634074065b182f289dd36d05074c7a5762f6cd35f409ae2ef239de5e0799af70ec6a96ba63df50fc8c123784  esh-0.3.2.tar.gz
"
